Note: This statement is named Get .NET Property in the Add Statement dialog box.
Returns the value of a .NET property.
Only use this statement if you have Visual C# .NET or Visual Basic .NET experience.
Syntax
GetDotNETProperty("PropertyName", Parameters...)
Arguments
| Argument | Description |
|---|---|
| PropertyName | .NET property. |
| Parameters | Optional parameters to pass to the property, separated with commas. |
Supported objects
Browser, Button, Calendar, Cell, CheckBox, ColumnHeader, ComboBox, ContextMenu, Control, DateTimePicker, EditBox, Grid, HTMLElement, HTMLLink, HTMLTable, Image, Item, Label, Link, ListBox, ListView, Menu, NavigationField, PopupMenu, ProgressBar, RadioButton, Row, RowHeader, ScrollBar, Slider, SpinBox, SubItem, Tab, TabBar, ToolBar, Tree, Window
Return value
| Value | Description |
|---|---|
| Value | .NET property value. |
Example
gridName = Window("WysiCorp CRM").Grid("accountsDataGridView").GetDotNETProperty("Name")
PrintLn gridName